#include "HttpManager.h"

String HttpManager::get(const char* url) {
    HTTPClient http;
    http.begin(url);

    int httpCode = http.GET();
    String payload = http.getString();
    Serial.println(httpCode);
    Serial.println(payload);

    http.end();
    return payload;
}